<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page contentType="text/html; charset=UTF-8" %>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>

<html>
	<head>
		<title>Card Vault</title>
		<link href="<c:url value="/resources/css/normalize.css" />" rel="stylesheet" type="text/css" media="screen"/>
		<link href="<c:url value="/resources/css/bootstrap.min.css" />"rel="stylesheet" type="text/css" media="screen"/>
		<link href="<c:url value="/resources/css/style.css" />" rel="stylesheet" type="text/css" media="screen"/>
		<script src="<c:url value="/resources/js/jquery-1.8.3.min.js" />"></script>
		<script src="<c:url value="/resources/js/bootstrap.min.js" />"></script>
		<script src="<c:url value="/resources/js/scripts.js" />"></script>
	</head>
    <body>
    	<div id="wrapper">
    		<form class="form-horizontal" method="post" action="confirmation" 
    								      onsubmit="return checkAgreeTermsAndConditions()">
		        <div class="heading">Card Vault</div>
		        
		        <br><p>Your subscription details are as follows.</p><br>
		        <div id="rectangle" align="center"></div>
		        
		        <br><p>Terms and Conditions</p>
		        <div class="comment">
		        	<iframe src="<c:url value="terms"></c:url>"></iframe>
		        	<label class="checkbox">
						<input type="checkbox" name="agree" id="agree">
						I HAVE READ AND AGREED TO THE FOLLOWING TERMS AND CONDITIONS
					</label><br>
		        </div>
				
				<div align="center">
					<a href="">Click to complete debit order</a>
				</div>
				
				<div align="right">
					<button type="submit" class="btn">Accept</button>
				</div>
        	</form>
        	<div class="fixed_block"> 
				<div id="fixed">
					<div class="mainview" align="center">
						<jsp:include page="service/fixed_block.jsp"></jsp:include>
					</div>
				</div> 
			</div>
    	</div>
    </body>
</html>